home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6290 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  55 lines

  1. Path: news.gatecom.com!gatecoms!cgolchert
  2. From: cgolchert@gatecoms.gatecom.com (Chris Golchert)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Help with linking
  5. Date: 26 Mar 1996 00:57:49 GMT
  6. Organization: Gateway Communications Inc.
  7. Message-ID: <4j7fed$j9h@www.gatecom.com>
  8. NNTP-Posting-Host: gatecoms.gatecom.com
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I trying to get a lightwave plug-in in the works...I'm not having a 
  12. problem with the C language it's that Light wave needs to be linked with 
  13. "plug-in libraries"  they gave this as the make file...
  14.  
  15.  
  16. #
  17. # Makefile for SAS/C LightWave plugins
  18. #
  19.  
  20.  
  21. # Plugins must be made with no stack checking to prevent the attempt to
  22. # exit.  Since there are multiple entry points, there is no clear exit
  23. # option.
  24. #
  25. UINC    = //include/
  26. ULIB    = //lib/
  27. CFLAGS    = cpu=68020 math=68881 opt nostkchk idir=$(UINC)
  28.  
  29.  
  30. # Output *.p modules are made directly from C source files to keep this
  31. # example simple.
  32. #
  33. .c.p:
  34.     sc link $(CFLAGS) startup=$(ULIB)serv_s.o $*.c $(ULIB)server.lib pname=$@
  35.  
  36. all : negative.p
  37.  
  38.  
  39. this was for the demo "negative"
  40.  
  41. I'm running with sas/c version ??? not sure without checking....I need to 
  42. turn this into whatever  LMK/LC/BLINK can under stand....I modify the 
  43. above enough  I can compile by hand and blink says it doesn't understand 
  44. "=" in the smakefil...
  45.  
  46.  
  47.  
  48.  
  49. HELP!!!!
  50.  
  51.  
  52. Chris
  53.  
  54.  
  55.